home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1993 November / JCSM Shareware Collection - 1993-11.iso / cl060 / pskd14.lzh / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-09-15  |  1.6 KB  |  62 lines

  1. echo off
  2. cls
  3. if %1x==x goto END
  4. %1
  5. instprog %1 %2 1 mainprog PS PROSKED ~0
  6. if errorlevel 99 goto END
  7. cls
  8. if exist upgrd.exe erase upgrd.exe
  9. copy %1*.*
  10. if exist t0.hlp erase t?.hlp
  11. cls
  12. echo just a minute...
  13. if exist manual.idx erase manual.idx
  14. if exist manual erase manual
  15. if exist help erase help
  16. if exist messages erase messages
  17. if exist blankcal erase blank*  
  18. if exist alarm.dat erase alarm.dat
  19. if exist mainprog.exe erase mainprog.*
  20. if exist sample.lbt erase sample.lbt
  21. if exist sample1.rpt erase sample1.rpt
  22. if exist printers.lbf erase printers.lbf
  23. if exist pc-beep.exe erase pc-beep.exe
  24. cls
  25. if not exist m-journ.lbf goto EXTRACT
  26. echo                              VERY IMPORTANT
  27. echo .
  28. echo .
  29. echo Now, some program files will be extracted from an archive.  Before each
  30. echo file is extracted, a check will be made to see whether a similarly named
  31. echo one already exists on your hard disk.  If so, you'll be asked whether you
  32. echo wish to overwrite it with a new copy.
  33. echo .
  34. echo              ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
  35. echo .
  36. echo .
  37. pause
  38. cls
  39. :EXTRACT
  40. pskd
  41. erase pskd.exe
  42. mainprog u %2 ~0
  43. mainprog i ~0
  44. mainprog t cities
  45. rem echo off
  46. cls
  47. if exist 1sttime.fyl erase 1sttime.fyl
  48. if exist m-journ.lbf goto NOTFIRST
  49. mainprog w
  50. mainprog p
  51. mainprog m
  52. :NOTFIRST
  53. rem echo off
  54. cls
  55. echo       To use this scheduler, go to the PS directory on drive %2 and enter
  56. echo "PS xxx"  (where xxx are your initials).   For example,  if your initials
  57. echo were ABC, you would enter "PS ABC" (without quotes).
  58. echo .
  59. echo .
  60. pause
  61. :END
  62.